{% extends "bootstrap/base.html" %}

{% block title %}MPS{% endblock %}

{% block head %}
{{ super() }}
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}" type="image/x-icon">
<link rel="icon" href="{{ url_for('static', filename='favicon.ico') }}" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='styles.css') }}">
<link href="{{ url_for('static', filename='bootstrap-datetimepicker.min.css') }}" rel="stylesheet">
{% endblock %}

{% block navbar %}
{% endblock %}

{% block content %}
<div class="container">
    {% for message in get_flashed_messages() %}
    <div class="alert alert-warning">
        <button type="button" class="close" data-dismiss="alert">&times;</button>
        {{ message }}
    </div>
    {% endfor %}

    {% block page_content %}{% endblock %}
</div>
{% endblock %}

{% block scripts %}
{{ super() }}
<script src="{{ url_for('static', filename='bootstrap-datetimepicker.min.js') }}"></script>
<script src="{{ url_for('static', filename='bootstrap-datetimepicker.zh-CN.js') }}"></script>
<script src="{{ url_for('static', filename='mps.js') }}"></script>
{% endblock %}
